var statage_male_3rd = [
    [36.5, 34.79475757],
    [37.5, 35.01299956],
    [38.5, 35.22803593],
    [39.5, 35.44004159],
    [40.5, 35.64919493],
    [41.5, 35.85567852],
    [42.5, 36.05967446],
    [43.5, 36.26136624],
    [44.5, 36.46093681],
    [45.5, 36.65856772],
    [46.5, 36.85443826],
    [47.5, 37.04872462],
    [48.5, 37.24159922],
    [49.5, 37.43322991],
    [50.5, 37.62377939],
    [51.5, 37.81340525],
    [52.5, 38.00225561],
    [53.5, 38.19047666],
    [54.5, 38.37820322],
    [55.5, 38.56556359],
    [56.5, 38.75267749],
    [57.5, 38.93965589],
    [58.5, 39.12660058],
    [59.5, 39.31360391],
    [60.5, 39.5007485],
    [61.5, 39.6881069],
    [62.5, 39.87574153],
    [63.5, 40.06370451],
    [64.5, 40.25203744],
    [65.5, 40.44077144],
    [66.5, 40.62992726],
    [67.5, 40.81951503],
    [68.5, 41.00953474],
    [69.5, 41.19997607],
    [70.5, 41.39081845],
    [71.5, 41.58203301],
    [72.5, 41.77358],
    [73.5, 41.96541124],
    [74.5, 42.15747025],
    [75.5, 42.3496924],
    [76.5, 42.54200561],
    [77.5, 42.73433107],
    [78.5, 42.92658365],
    [79.5, 43.11867269],
    [80.5, 43.31050268],
    [81.5, 43.50197408],
    [82.5, 43.69298391],
    [83.5, 43.88342673],
    [84.5, 44.07319522],
    [85.5, 44.26218122],
    [86.5, 44.45027644],
    [87.5, 44.63737308],
    [88.5, 44.82336385],
    [89.5, 45.00814667],
    [90.5, 45.19161976],
    [91.5, 45.37368596],
    [92.5, 45.55425247],
    [93.5, 45.73323182],
    [94.5, 45.91054235],
    [95.5, 46.08610871],
    [96.5, 46.25986274],
    [97.5, 46.43174385],
    [98.5, 46.60169942],
    [99.5, 46.76968549],
    [100.5, 46.93566696],
    [101.5, 47.09961811],
    [102.5, 47.2615228],
    [103.5, 47.42137482],
    [104.5, 47.57917817],
    [105.5, 47.73494708],
    [106.5, 47.88870629],
    [107.5, 48.04049118],
    [108.5, 48.19034772],
    [109.5, 48.33833252],
    [110.5, 48.48451287],
    [111.5, 48.62896657],
    [112.5, 48.77178193],
    [113.5, 48.91305763],
    [114.5, 49.05290243],
    [115.5, 49.19143503],
    [116.5, 49.32878388],
    [117.5, 49.46508671],
    [118.5, 49.60049029],
    [119.5, 49.73515012],
    [120.5, 49.8692298],
    [121.5, 50.00290066],
    [122.5, 50.13634129],
    [123.5, 50.26973675],
    [124.5, 50.40327808],
    [125.5, 50.53716146],
    [126.5, 50.67158748],
    [127.5, 50.80676031],
    [128.5, 50.94288656],
    [129.5, 51.08017451],
    [130.5, 51.21883278],
    [131.5, 51.35906927],
    [132.5, 51.50108986],
    [133.5, 51.64509702],
    [134.5, 51.7912884],
    [135.5, 51.93985545],
    [136.5, 52.09098167],
    [137.5, 52.24484124],
    [138.5, 52.40159735],
    [139.5, 52.56140055],
    [140.5, 52.72438729],
    [141.5, 52.89067817],
    [142.5, 53.06037668],
    [143.5, 53.2335676],
    [144.5, 53.41031581],
    [145.5, 53.590665],
    [146.5, 53.77463672],
    [147.5, 53.96222926],
    [148.5, 54.15341712],
    [149.5, 54.34815006],
    [150.5, 54.54635296],
    [151.5, 54.74792515],
    [152.5, 54.9527405],
    [153.5, 55.16064731],
    [154.5, 55.37146833],
    [155.5, 55.5850012],
    [156.5, 55.80101895],
    [157.5, 56.01927088],
    [158.5, 56.23948222],
    [159.5, 56.46135797],
    [160.5, 56.6845812],
    [161.5, 56.90881731],
    [162.5, 57.133714],
    [163.5, 57.35890503],
    [164.5, 57.58401216],
    [165.5, 57.80864807],
    [166.5, 58.03241941],
    [167.5, 58.25492882],
    [168.5, 58.47578311],
    [169.5, 58.69459032],
    [170.5, 58.91096697],
    [171.5, 59.12454082],
    [172.5, 59.33495381],
    [173.5, 59.54186546],
    [174.5, 59.74495533],
    [175.5, 59.94392556],
    [176.5, 60.13850299],
    [177.5, 60.32844073],
    [178.5, 60.51351941],
    [179.5, 60.69354805],
    [180.5, 60.86836444],
    [181.5, 61.03783513],
    [182.5, 61.2018551],
    [183.5, 61.36034715],
    [184.5, 61.51326078],
    [185.5, 61.66057117],
    [186.5, 61.80227766],
    [187.5, 61.93840215],
    [188.5, 62.06898753],
    [189.5, 62.19409524],
    [190.5, 62.31380503],
    [191.5, 62.42821135],
    [192.5, 62.53742176],
    [193.5, 62.64155702],
    [194.5, 62.74074695],
    [195.5, 62.83513003],
    [196.5, 62.92485166],
    [197.5, 63.01006257],
    [198.5, 63.09091757],
    [199.5, 63.16757423],
    [200.5, 63.24019183],
    [201.5, 63.30893009],
    [202.5, 63.37394855],
    [203.5, 63.43540563],
    [204.5, 63.49345771],
    [205.5, 63.54825884],
    [206.5, 63.59996001],
    [207.5, 63.64870874],
    [208.5, 63.69464865],
    [209.5, 63.73791918],
    [210.5, 63.77865554],
    [211.5, 63.81698816],
    [212.5, 63.85304291],
    [213.5, 63.8869408],
    [214.5, 63.91879798],
    [215.5, 63.94872587],
    [216.5, 63.976831],
    [217.5, 64.00321515],
    [218.5, 64.0279754],
    [219.5, 64.05120427],
    [220.5, 64.07298976],
    [221.5, 64.09341556],
    [222.5, 64.11256108],
    [223.5, 64.13050164],
    [224.5, 64.14730862],
    [225.5, 64.16304965],
    [226.5, 64.17778863],
    [227.5, 64.19158604],
    [228.5, 64.20449892],
    [229.5, 64.21658125],
    [230.5, 64.22788382],
    [231.5, 64.23845461],
    [232.5, 64.24833883],
    [233.5, 64.25757899],
    [234.5, 64.26621522],
    [235.5, 64.27428526],
    [236.5, 64.28182452],
    [237.5, 64.28886641],
    [238.5, 64.29544232],
    [239.5, 64.30158169],
    [240, 64.30449638]

];

var statage_male_5th = [
    [36.5, 35.11998987],
    [37.5, 35.34372423],
    [38.5, 35.56421532],
    [39.5, 35.78164149],
    [40.5, 35.99618277],
    [41.5, 36.20802098],
    [42.5, 36.41733691],
    [43.5, 36.62431102],
    [44.5, 36.82912216],
    [45.5, 37.03194686],
    [46.5, 37.23295859],
    [47.5, 37.4323272],
    [48.5, 37.63021825],
    [49.5, 37.82679244],
    [50.5, 38.02220513],
    [51.5, 38.21660616],
    [52.5, 38.41013749],
    [53.5, 38.6029368],
    [54.5, 38.79513263],
    [55.5, 38.98684664],
    [56.5, 39.1781925],
    [57.5, 39.36927561],
    [58.5, 39.56019286],
    [59.5, 39.75103229],
    [60.5, 39.94187303],
    [61.5, 40.13278486],
    [62.5, 40.32382835],
    [63.5, 40.51505456],
    [64.5, 40.70650489],
    [65.5, 40.8982113],
    [66.5, 41.09019613],
    [67.5, 41.28247217],
    [68.5, 41.47504283],
    [69.5, 41.66790223],
    [70.5, 41.86103524],
    [71.5, 42.05441854],
    [72.5, 42.24801951],
    [73.5, 42.44179756],
    [74.5, 42.6357044],
    [75.5, 42.82968419],
    [76.5, 43.02367434],
    [77.5, 43.21760566],
    [78.5, 43.41140332],
    [79.5, 43.60498705],
    [80.5, 43.79827208],
    [81.5, 43.99116958],
    [82.5, 44.18358744],
    [83.5, 44.37543097],
    [84.5, 44.56660351],
    [85.5, 44.75700736],
    [86.5, 44.94654423],
    [87.5, 45.13511626],
    [88.5, 45.32262597],
    [89.5, 45.50897918],
    [90.5, 45.69408271],
    [91.5, 45.87784706],
    [92.5, 46.06018645],
    [93.5, 46.24101958],
    [94.5, 46.42027019],
    [95.5, 46.59786772],
    [96.5, 46.77374782],
    [97.5, 46.94785275],
    [98.5, 47.12013218],
    [99.5, 47.29054321],
    [100.5, 47.45905114],
    [101.5, 47.62562962],
    [102.5, 47.79026096],
    [103.5, 47.95293668],
    [104.5, 48.11365744],
    [105.5, 48.27243335],
    [106.5, 48.42928426],
    [107.5, 48.58423978],
    [108.5, 48.73733939],
    [109.5, 48.88863254],
    [110.5, 49.03817861],
    [111.5, 49.18604711],
    [112.5, 49.33231739],
    [113.5, 49.47707876],
    [114.5, 49.62043034],
    [115.5, 49.76248097],
    [116.5, 49.90334903],
    [117.5, 50.0431623],
    [118.5, 50.18205765],
    [119.5, 50.32018087],
    [120.5, 50.45768638],
    [121.5, 50.59473689],
    [122.5, 50.73150299],
    [123.5, 50.86816267],
    [124.5, 51.00490097],
    [125.5, 51.14190931],
    [126.5, 51.27938486],
    [127.5, 51.41752993],
    [128.5, 51.55655119],
    [129.5, 51.69665862],
    [130.5, 51.83806476],
    [131.5, 51.98098358],
    [132.5, 52.12562921],
    [133.5, 52.27221484],
    [134.5, 52.42095122],
    [135.5, 52.57204516],
    [136.5, 52.725698],
    [137.5, 52.88210391],
    [138.5, 53.04144813],
    [139.5, 53.20390503],
    [140.5, 53.36963622],
    [141.5, 53.53878879],
    [142.5, 53.71149298],
    [143.5, 53.88786056],
    [144.5, 54.06798262],
    [145.5, 54.2519278],
    [146.5, 54.43974046],
    [147.5, 54.63143891],
    [148.5, 54.82701394],
    [149.5, 55.02642727],
    [150.5, 55.22961038],
    [151.5, 55.43646356],
    [152.5, 55.64685509],
    [153.5, 55.86062079],
    [154.5, 56.0775639],
    [155.5, 56.29745524],
    [156.5, 56.52003395],
    [157.5, 56.74500832],
    [158.5, 56.97205699],
    [159.5, 57.20083191],
    [160.5, 57.43095932],
    [161.5, 57.66204362],
    [162.5, 57.89366988],
    [163.5, 58.12540804],
    [164.5, 58.35681655],
    [165.5, 58.58744683],
    [166.5, 58.81684751],
    [167.5, 59.04456834],
    [168.5, 59.27016708],
    [169.5, 59.49321083],
    [170.5, 59.71328201],
    [171.5, 59.92998189],
    [172.5, 60.14293409],
    [173.5, 60.35178779],
    [174.5, 60.55622022],
    [175.5, 60.75593883],
    [176.5, 60.95068291],
    [177.5, 61.14022439],
    [178.5, 61.32436867],
    [179.5, 61.50295431],
    [180.5, 61.67585291],
    [181.5, 61.842968],
    [182.5, 62.00423411],
    [183.5, 62.15961502],
    [184.5, 62.30910227],
    [185.5, 62.45271306],
    [186.5, 62.59048829],
    [187.5, 62.72249056],
    [188.5, 62.84880177],
    [189.5, 62.96952093],
    [190.5, 63.08476249],
    [191.5, 63.19465373],
    [192.5, 63.29933272],
    [193.5, 63.39894727],
    [194.5, 63.49365216],
    [195.5, 63.58360804],
    [196.5, 63.6689797],
    [197.5, 63.74993494],
    [198.5, 63.82664301],
    [199.5, 63.89927372],
    [200.5, 63.96799631],
    [201.5, 64.03297867],
    [202.5, 64.09438642],
    [203.5, 64.15238252],
    [204.5, 64.20712648],
    [205.5, 64.25877391],
    [206.5, 64.3074763],
    [207.5, 64.35338058],
    [208.5, 64.39662883],
    [209.5, 64.43735838],
    [210.5, 64.47570131],
    [211.5, 64.51178468],
    [212.5, 64.54573033],
    [213.5, 64.57765495],
    [214.5, 64.60767012],
    [215.5, 64.63588242],
    [216.5, 64.66239334],
    [217.5, 64.68729962],
    [218.5, 64.71069321],
    [219.5, 64.73266149],
    [220.5, 64.75328733],
    [221.5, 64.77264939],
    [222.5, 64.79082207],
    [223.5, 64.80787586],
    [224.5, 64.82387737],
    [225.5, 64.83888962],
    [226.5, 64.85297203],
    [227.5, 64.86618078],
    [228.5, 64.87856874],
    [229.5, 64.89018591],
    [230.5, 64.90107926],
    [231.5, 64.91129312],
    [232.5, 64.92086919],
    [233.5, 64.92984668],
    [234.5, 64.93826255],
    [235.5, 64.94615149],
    [236.5, 64.95354614],
    [237.5, 64.96047717],
    [238.5, 64.96697339],
    [239.5, 64.97306186],
    [240, 64.97596119]

];

var statage_male_10th = [
    [36.5, 35.62910841],
    [37.5, 35.86067974],
    [38.5, 36.08895191],
    [39.5, 36.3141097],
    [40.5, 36.53633704],
    [41.5, 36.75581624],
    [42.5, 36.97272764],
    [43.5, 37.18724886],
    [44.5, 37.39955434],
    [45.5, 37.60981486],
    [46.5, 37.81819707],
    [47.5, 38.02486308],
    [48.5, 38.22997005],
    [49.5, 38.4336698],
    [50.5, 38.63610845],
    [51.5, 38.837426],
    [52.5, 39.0377565],
    [53.5, 39.23722671],
    [54.5, 39.43595696],
    [55.5, 39.63406026],
    [56.5, 39.83164214],
    [57.5, 40.02880063],
    [58.5, 40.2256259],
    [59.5, 40.42220002],
    [60.5, 40.61859713],
    [61.5, 40.81488302],
    [62.5, 41.01111514],
    [63.5, 41.20734261],
    [64.5, 41.4036061],
    [65.5, 41.59993778],
    [66.5, 41.79636159],
    [67.5, 41.99289295],
    [68.5, 42.1895392],
    [69.5, 42.3862995],
    [70.5, 42.58316516],
    [71.5, 42.78011952],
    [72.5, 42.97713876],
    [73.5, 43.17419166],
    [74.5, 43.37124019],
    [75.5, 43.56823983],
    [76.5, 43.76513974],
    [77.5, 43.96188354],
    [78.5, 44.15840948],
    [79.5, 44.35465104],
    [80.5, 44.55053744],
    [81.5, 44.74599424],
    [82.5, 44.94094368],
    [83.5, 45.13530551],
    [84.5, 45.32899751],
    [85.5, 45.521936],
    [86.5, 45.71403665],
    [87.5, 45.90521483],
    [88.5, 46.09538674],
    [89.5, 46.28446909],
    [90.5, 46.47238076],
    [91.5, 46.65904287],
    [92.5, 46.84437939],
    [93.5, 47.0283178],
    [94.5, 47.21078959],
    [95.5, 47.39173091],
    [96.5, 47.57108277],
    [97.5, 47.74879193],
    [98.5, 47.92481104],
    [99.5, 48.09909912],
    [100.5, 48.27162209],
    [101.5, 48.44235293],
    [102.5, 48.61127216],
    [103.5, 48.77836807],
    [104.5, 48.94363702],
    [105.5, 49.10708357],
    [106.5, 49.2687209],
    [107.5, 49.42857086],
    [108.5, 49.5866641],
    [109.5, 49.74304033],
    [110.5, 49.89774832],
    [111.5, 50.05084612],
    [112.5, 50.20240109],
    [113.5, 50.35248983],
    [114.5, 50.50119837],
    [115.5, 50.64862227],
    [116.5, 50.79486633],
    [117.5, 50.94004487],
    [118.5, 51.08428144],
    [119.5, 51.227709],
    [120.5, 51.37046951],
    [121.5, 51.51271419],
    [122.5, 51.65460297],
    [123.5, 51.79630447],
    [124.5, 51.93799572],
    [125.5, 52.07986182],
    [126.5, 52.22209556],
    [127.5, 52.36489682],
    [128.5, 52.50847225],
    [129.5, 52.65303434],
    [130.5, 52.79880083],
    [131.5, 52.94599383],
    [132.5, 53.09483855],
    [133.5, 53.24556241],
    [134.5, 53.39839352],
    [135.5, 53.55355927],
    [136.5, 53.71128459],
    [137.5, 53.87179008],
    [138.5, 54.03529008],
    [139.5, 54.20199033],
    [140.5, 54.3720857],
    [141.5, 54.54575764],
    [142.5, 54.7231714],
    [143.5, 54.90447347],
    [144.5, 55.08978845],
    [145.5, 55.27921646],
    [146.5, 55.47283003],
    [147.5, 55.6706714],
    [148.5, 55.87274982],
    [149.5, 56.07903906],
    [150.5, 56.28947524],
    [151.5, 56.50395472],
    [152.5, 56.72233303],
    [153.5, 56.94442351],
    [154.5, 57.16999717],
    [155.5, 57.39878285],
    [156.5, 57.63046805],
    [157.5, 57.8647007],
    [158.5, 58.10109161],
    [159.5, 58.33921729],
    [160.5, 58.57862427],
    [161.5, 58.8188331],
    [162.5, 59.0593439],
    [163.5, 59.29964159],
    [164.5, 59.53920195],
    [165.5, 59.77749771],
    [166.5, 60.01400465],
    [167.5, 60.24820789],
    [168.5, 60.47960695],
    [169.5, 60.70772223],
    [170.5, 60.9320992],
    [171.5, 61.15231306],
    [172.5, 61.36797212],
    [173.5, 61.57872085],
    [174.5, 61.78424226],
    [175.5, 61.98425894],
    [176.5, 62.17853413],
    [177.5, 62.36687167],
    [178.5, 62.54911535],
    [179.5, 62.72514808],
    [180.5, 62.89488999],
    [181.5, 63.05829681],
    [182.5, 63.2153574],
    [183.5, 63.36609138],
    [184.5, 63.51054634],
    [185.5, 63.64879532],
    [186.5, 63.78093389],
    [187.5, 63.90707738],
    [188.5, 64.02735828],
    [189.5, 64.14192373],
    [190.5, 64.25093277],
    [191.5, 64.35455424],
    [192.5, 64.45296488],
    [193.5, 64.54634674],
    [194.5, 64.63488604],
    [195.5, 64.71877105],
    [196.5, 64.79819109],
    [197.5, 64.87333495],
    [198.5, 64.94438991],
    [199.5, 65.01154078],
    [200.5, 65.07496916],
    [201.5, 65.13485265],
    [202.5, 65.19136438],
    [203.5, 65.24467248],
    [204.5, 65.29493987],
    [205.5, 65.34232383],
    [206.5, 65.3869759],
    [207.5, 65.42904183],
    [208.5, 65.46866134],
    [209.5, 65.50596825],
    [210.5, 65.54109047],
    [211.5, 65.57415002],
    [212.5, 65.60526326],
    [213.5, 65.63454084],
    [214.5, 65.66208794],
    [215.5, 65.68800441],
    [216.5, 65.71238493],
    [217.5, 65.73531928],
    [218.5, 65.75689228],
    [219.5, 65.7771843],
    [220.5, 65.79627124],
    [221.5, 65.81422471],
    [222.5, 65.83111244],
    [223.5, 65.84699816],
    [224.5, 65.86194202],
    [225.5, 65.87600073],
    [226.5, 65.88922759],
    [227.5, 65.90167283],
    [228.5, 65.91338378],
    [229.5, 65.92440481],
    [230.5, 65.93477781],
    [231.5, 65.94454199],
    [232.5, 65.95373432],
    [233.5, 65.96238952],
    [234.5, 65.97054011],
    [235.5, 65.97821681],
    [236.5, 65.98544823],
    [237.5, 65.99226146],
    [238.5, 65.99868174],
    [239.5, 66.00473293],
    [240, 66.00762714]

];

var statage_male_25th = [
    [36.5, 36.50299588],
    [37.5, 36.74584681],
    [38.5, 36.9853285],
    [39.5, 37.2216388],
    [40.5, 37.45497078],
    [41.5, 37.68551104],
    [42.5, 37.9134425],
    [43.5, 38.13894191],
    [44.5, 38.3621805],
    [45.5, 38.58332382],
    [46.5, 38.8025316],
    [47.5, 39.01995764],
    [48.5, 39.23574966],
    [49.5, 39.45004914],
    [50.5, 39.6629913],
    [51.5, 39.87470421],
    [52.5, 40.08531192],
    [53.5, 40.2949277],
    [54.5, 40.5036612],
    [55.5, 40.71161403],
    [56.5, 40.91888099],
    [57.5, 41.12554981],
    [58.5, 41.33170114],
    [59.5, 41.53740853],
    [60.5, 41.74273829],
    [61.5, 41.94774962],
    [62.5, 42.15249449],
    [63.5, 42.35701772],
    [64.5, 42.56135708],
    [65.5, 42.76554321],
    [66.5, 42.96959982],
    [67.5, 43.17354371],
    [68.5, 43.377385],
    [69.5, 43.58112712],
    [70.5, 43.78476742],
    [71.5, 43.98829588],
    [72.5, 44.19169772],
    [73.5, 44.39495185],
    [74.5, 44.59803152],
    [75.5, 44.80090482],
    [76.5, 45.00353477],
    [77.5, 45.20587977],
    [78.5, 45.40789381],
    [79.5, 45.60952691],
    [80.5, 45.8107256],
    [81.5, 46.01143307],
    [82.5, 46.2115898],
    [83.5, 46.41113388],
    [84.5, 46.61000143],
    [85.5, 46.80812717],
    [86.5, 47.00544479],
    [87.5, 47.20188738],
    [88.5, 47.39738906],
    [89.5, 47.59188149],
    [90.5, 47.78529966],
    [91.5, 47.97757925],
    [92.5, 48.16865763],
    [93.5, 48.35847446],
    [94.5, 48.54697208],
    [95.5, 48.734096],
    [96.5, 48.9197952],
    [97.5, 49.10402266],
    [98.5, 49.28673575],
    [99.5, 49.46789652],
    [100.5, 49.6474722],
    [101.5, 49.82543545],
    [102.5, 50.00176456],
    [103.5, 50.17644418],
    [104.5, 50.34946514],
    [105.5, 50.52082512],
    [106.5, 50.69052863],
    [107.5, 50.85858754],
    [108.5, 51.02502121],
    [109.5, 51.18985666],
    [110.5, 51.35312891],
    [111.5, 51.51488128],
    [112.5, 51.67516546],
    [113.5, 51.83404185],
    [114.5, 51.99157961],
    [115.5, 52.14785718],
    [116.5, 52.30296214],
    [117.5, 52.45699156],
    [118.5, 52.61005219],
    [119.5, 52.76226066],
    [120.5, 52.91374342],
    [121.5, 53.06463708],
    [122.5, 53.21508842],
    [123.5, 53.36525449],
    [124.5, 53.51530244],
    [125.5, 53.66540965],
    [126.5, 53.81576359],
    [127.5, 53.9665615],
    [128.5, 54.11801021],
    [129.5, 54.27032557],
    [130.5, 54.42373207],
    [131.5, 54.57846195],
    [132.5, 54.73475456],
    [133.5, 54.89285488],
    [134.5, 55.05301268],
    [135.5, 55.21548053],
    [136.5, 55.38051231],
    [137.5, 55.54836082],
    [138.5, 55.71927564],
    [139.5, 55.89350018],
    [140.5, 56.07126874],
    [141.5, 56.25280317],
    [142.5, 56.43830922],
    [143.5, 56.62797259],
    [144.5, 56.82195486],
    [145.5, 57.02038937],
    [146.5, 57.22337661],
    [147.5, 57.43098026],
    [148.5, 57.64322282],
    [149.5, 57.86008183],
    [150.5, 58.08148636],
    [151.5, 58.30731428],
    [152.5, 58.53738996],
    [153.5, 58.7714828],
    [154.5, 59.0093071],
    [155.5, 59.25052263],
    [156.5, 59.49473634],
    [157.5, 59.74150533],
    [158.5, 59.9903418],
    [159.5, 60.24071631],
    [160.5, 60.49206629],
    [161.5, 60.74380127],
    [162.5, 60.99531211],
    [163.5, 61.24597807],
    [164.5, 61.49517557],
    [165.5, 61.74228681],
    [166.5, 61.98670761],
    [167.5, 62.22785632],
    [168.5, 62.46517688],
    [169.5, 62.69815027],
    [170.5, 62.9262965],
    [171.5, 63.14917981],
    [172.5, 63.36641158],
    [173.5, 63.57765272],
    [174.5, 63.7826146],
    [175.5, 63.98105939],
    [176.5, 64.1727993],
    [177.5, 64.35769519],
    [178.5, 64.53565446],
    [179.5, 64.7066286],
    [180.5, 64.87060995],
    [181.5, 65.02762854],
    [182.5, 65.17774854],
    [183.5, 65.32106468],
    [184.5, 65.4576985],
    [185.5, 65.58779494],
    [186.5, 65.71151871],
    [187.5, 65.82905102],
    [188.5, 65.94058624],
    [189.5, 66.04632984],
    [190.5, 66.14649399],
    [191.5, 66.24129675],
    [192.5, 66.3309598],
    [193.5, 66.41570468],
    [194.5, 66.49575331],
    [195.5, 66.5713252],
    [196.5, 66.6426367],
    [197.5, 66.70989965],
    [198.5, 66.77332059],
    [199.5, 66.83310011],
    [200.5, 66.88943238],
    [201.5, 66.94250442],
    [202.5, 66.99249614],
    [203.5, 67.0395799],
    [204.5, 67.08392063],
    [205.5, 67.12567558],
    [206.5, 67.16499458],
    [207.5, 67.20201995],
    [208.5, 67.23688678],
    [209.5, 67.26972306],
    [210.5, 67.30064989],
    [211.5, 67.32978167],
    [212.5, 67.35722649],
    [213.5, 67.38308619],
    [214.5, 67.40745675],
    [215.5, 67.43042862],
    [216.5, 67.45208678],
    [217.5, 67.47251116],
    [218.5, 67.49177692],
    [219.5, 67.5099546],
    [220.5, 67.52711044],
    [221.5, 67.54330663],
    [222.5, 67.55860144],
    [223.5, 67.5730496],
    [224.5, 67.5867024],
    [225.5, 67.59960792],
    [226.5, 67.61181116],
    [227.5, 67.62335439],
    [228.5, 67.63427715],
    [229.5, 67.64461657],
    [230.5, 67.65440736],
    [231.5, 67.66368205],
    [232.5, 67.67247111],
    [233.5, 67.6808032],
    [234.5, 67.68870502],
    [235.5, 67.69620163],
    [236.5, 67.70331664],
    [237.5, 67.71007204],
    [238.5, 67.71648846],
    [239.5, 67.72258527],
    [240, 67.72551956]

];

var statage_male_50th = [
    [36.5, 37.50930807],
    [37.5, 37.76173271],
    [38.5, 38.0107856],
    [39.5, 38.25667936],
    [40.5, 38.49961814],
    [41.5, 38.73979584],
    [42.5, 38.97740033],
    [43.5, 39.21261054],
    [44.5, 39.44559768],
    [45.5, 39.67652528],
    [46.5, 39.90554954],
    [47.5, 40.13281923],
    [48.5, 40.35847593],
    [49.5, 40.58265388],
    [50.5, 40.8054803],
    [51.5, 41.02707452],
    [52.5, 41.24755204],
    [53.5, 41.46701601],
    [54.5, 41.68556672],
    [55.5, 41.90329609],
    [56.5, 42.12028924],
    [57.5, 42.33662444],
    [58.5, 42.55237318],
    [59.5, 42.76760014],
    [60.5, 42.98236341],
    [61.5, 43.19671443],
    [62.5, 43.41069809],
    [63.5, 43.62435297],
    [64.5, 43.83771127],
    [65.5, 44.05079914],
    [66.5, 44.26363654],
    [67.5, 44.47623768],
    [68.5, 44.68861106],
    [69.5, 44.9007596],
    [70.5, 45.11268129],
    [71.5, 45.32436759],
    [72.5, 45.53580656],
    [73.5, 45.74698104],
    [74.5, 45.95786931],
    [75.5, 46.16844536],
    [76.5, 46.37867934],
    [77.5, 46.58853756],
    [78.5, 46.79798287],
    [79.5, 47.00697499],
    [80.5, 47.21547073],
    [81.5, 47.42342443],
    [82.5, 47.630788],
    [83.5, 47.8375115],
    [84.5, 48.04354335],
    [85.5, 48.24883054],
    [86.5, 48.45331928],
    [87.5, 48.65695501],
    [88.5, 48.85968434],
    [89.5, 49.06145015],
    [90.5, 49.26219912],
    [91.5, 49.46187758],
    [92.5, 49.66043308],
    [93.5, 49.85781448],
    [94.5, 50.05397258],
    [95.5, 50.24886028],
    [96.5, 50.44243291],
    [97.5, 50.63464872],
    [98.5, 50.82546918],
    [99.5, 51.01485916],
    [100.5, 51.20278753],
    [101.5, 51.38922732],
    [102.5, 51.57415608],
    [103.5, 51.75755622],
    [104.5, 51.93941541],
    [105.5, 52.11972688],
    [106.5, 52.29848966],
    [107.5, 52.47570908],
    [108.5, 52.6513969],
    [109.5, 52.82557187],
    [110.5, 52.99825996],
    [111.5, 53.16949458],
    [112.5, 53.33931719],
    [113.5, 53.50777744],
    [114.5, 53.67493359],
    [115.5, 53.84085281],
    [116.5, 54.0056116],
    [117.5, 54.1692961],
    [118.5, 54.33200233],
    [119.5, 54.49383663],
    [120.5, 54.65491589],
    [121.5, 54.81536787],
    [122.5, 54.97533138],
    [123.5, 55.13495654],
    [124.5, 55.29440494],
    [125.5, 55.45384971],
    [126.5, 55.6134755],
    [127.5, 55.77347862],
    [128.5, 55.93406642],
    [129.5, 56.09545754],
    [130.5, 56.25788089],
    [131.5, 56.42157539],
    [132.5, 56.58678894],
    [133.5, 56.75377738],
    [134.5, 56.92280294],
    [135.5, 57.09413288],
    [136.5, 57.26803718],
    [137.5, 57.4447863],
    [138.5, 57.62464836],
    [139.5, 57.80788606],
    [140.5, 57.99475293],
    [141.5, 58.18548949],
    [142.5, 58.38031869],
    [143.5, 58.57944132],
    [144.5, 58.78303088],
    [145.5, 58.99122835],
    [146.5, 59.20413697],
    [147.5, 59.42181677],
    [148.5, 59.64427973],
    [149.5, 59.87148497],
    [150.5, 60.10333474],
    [151.5, 60.33967113],
    [152.5, 60.58027382],
    [153.5, 60.82485883],
    [154.5, 61.07307885],
    [155.5, 61.32452469],
    [156.5, 61.57872845],
    [157.5, 61.83516784],
    [158.5, 62.09327325],
    [159.5, 62.35243245],
    [160.5, 62.61200192],
    [161.5, 62.87131352],
    [162.5, 63.12968637],
    [163.5, 63.38643525],
    [164.5, 63.64088141],
    [165.5, 63.89236202],
    [166.5, 64.14023944],
    [167.5, 64.38391075],
    [168.5, 64.62280994],
    [169.5, 64.85642081],
    [170.5, 65.08427747],
    [171.5, 65.30596893],
    [172.5, 65.52114117],
    [173.5, 65.72949825],
    [174.5, 65.93080198],
    [175.5, 66.1248709],
    [176.5, 66.31157813],
    [177.5, 66.49084866],
    [178.5, 66.662656],
    [179.5, 66.82701841],
    [180.5, 66.98399483],
    [181.5, 67.13368062],
    [182.5, 67.27620326],
    [183.5, 67.41171817],
    [184.5, 67.54040439],
    [185.5, 67.66246079],
    [186.5, 67.77810215],
    [187.5, 67.88755568],
    [188.5, 67.99105778],
    [189.5, 68.08885165],
    [190.5, 68.18118327],
    [191.5, 68.26830049],
    [192.5, 68.350451],
    [193.5, 68.42787864],
    [194.5, 68.50082431],
    [195.5, 68.56952329],
    [196.5, 68.63420458],
    [197.5, 68.69509001],
    [198.5, 68.75239366],
    [199.5, 68.80632129],
    [200.5, 68.85707002],
    [201.5, 68.90482819],
    [202.5, 68.94977522],
    [203.5, 68.99208159],
    [204.5, 69.03190893],
    [205.5, 69.06941017],
    [206.5, 69.10472988],
    [207.5, 69.13800418],
    [208.5, 69.16936137],
    [209.5, 69.19892205],
    [210.5, 69.22679947],
    [211.5, 69.25309992],
    [212.5, 69.27792296],
    [213.5, 69.30136187],
    [214.5, 69.32350397],
    [215.5, 69.34443087],
    [216.5, 69.36421887],
    [217.5, 69.38293932],
    [218.5, 69.40065878],
    [219.5, 69.41743938],
    [220.5, 69.43333923],
    [221.5, 69.4484125],
    [222.5, 69.46270971],
    [223.5, 69.47627807],
    [224.5, 69.48916158],
    [225.5, 69.50140131],
    [226.5, 69.51303569],
    [227.5, 69.52410042],
    [228.5, 69.53462893],
    [229.5, 69.54465248],
    [230.5, 69.55420012],
    [231.5, 69.56329914],
    [232.5, 69.57197497],
    [233.5, 69.58025135],
    [234.5, 69.58815057],
    [235.5, 69.59569337],
    [236.5, 69.60289928],
    [237.5, 69.60978649],
    [238.5, 69.61637204],
    [239.5, 69.62267201],
    [240, 69.62571957]

];

var statage_male_75th = [
    [36.5, 38.55462684],
    [37.5, 38.81310986],
    [38.5, 39.06835883],
    [39.5, 39.32059549],
    [40.5, 39.57003078],
    [41.5, 39.81686355],
    [42.5, 40.06128435],
    [43.5, 40.30347334],
    [44.5, 40.5436013],
    [45.5, 40.78183017],
    [46.5, 41.01831309],
    [47.5, 41.25319488],
    [48.5, 41.48661205],
    [49.5, 41.71869308],
    [50.5, 41.94955856],
    [51.5, 42.17932085],
    [52.5, 42.40808703],
    [53.5, 42.63595283],
    [54.5, 42.86300968],
    [55.5, 43.08934079],
    [56.5, 43.31502233],
    [57.5, 43.54012355],
    [58.5, 43.7647069],
    [59.5, 43.98882808],
    [60.5, 44.21253632],
    [61.5, 44.43587439],
    [62.5, 44.6588788],
    [63.5, 44.88157998],
    [64.5, 45.10400247],
    [65.5, 45.32616503],
    [66.5, 45.54808086],
    [67.5, 45.76975783],
    [68.5, 45.99119854],
    [69.5, 46.21240074],
    [70.5, 46.43335767],
    [71.5, 46.65405704],
    [72.5, 46.87448346],
    [73.5, 47.09461693],
    [74.5, 47.31443374],
    [75.5, 47.53390653],
    [76.5, 47.75300464],
    [77.5, 47.97169425],
    [78.5, 48.18993886],
    [79.5, 48.40769917],
    [80.5, 48.62493382],
    [81.5, 48.84159921],
    [82.5, 49.05765003],
    [83.5, 49.27303948],
    [84.5, 49.48771944],
    [85.5, 49.70164085],
    [86.5, 49.91475392],
    [87.5, 50.12700845],
    [88.5, 50.3383551],
    [89.5, 50.54874186],
    [90.5, 50.75811965],
    [91.5, 50.96643925],
    [92.5, 51.17365248],
    [93.5, 51.37971239],
    [94.5, 51.58457352],
    [95.5, 51.78819234],
    [96.5, 51.99052744],
    [97.5, 52.19153988],
    [98.5, 52.39119345],
    [99.5, 52.58945509],
    [100.5, 52.78629512],
    [101.5, 52.98168759],
    [102.5, 53.1756106],
    [103.5, 53.36804677],
    [104.5, 53.55898341],
    [105.5, 53.74841296],
    [106.5, 53.93633342],
    [107.5, 54.12274848],
    [108.5, 54.30766826],
    [109.5, 54.49110946],
    [110.5, 54.6730957],
    [111.5, 54.85365809],
    [112.5, 55.03283547],
    [113.5, 55.21067505],
    [114.5, 55.38723243],
    [115.5, 55.56257237],
    [116.5, 55.736769],
    [117.5, 55.90990618],
    [118.5, 56.08207808],
    [119.5, 56.25338931],
    [120.5, 56.42395531],
    [121.5, 56.59390277],
    [122.5, 56.76336983],
    [123.5, 56.93250622],
    [124.5, 57.10147355],
    [125.5, 57.27044537],
    [126.5, 57.43960712],
    [127.5, 57.60915603],
    [128.5, 57.77930085],
    [129.5, 57.95026157],
    [130.5, 58.12226879],
    [131.5, 58.29556298],
    [132.5, 58.47039331],
    [133.5, 58.64701675],
    [134.5, 58.8256961],
    [135.5, 59.0066984],
    [136.5, 59.19029251],
    [137.5, 59.37674647],
    [138.5, 59.56632453],
    [139.5, 59.75928357],
    [140.5, 59.95586919],
    [141.5, 60.15631138],
    [142.5, 60.36081984],
    [143.5, 60.56957861],
    [144.5, 60.78274117],
    [145.5, 61.00042455],
    [146.5, 61.22270393],
    [147.5, 61.44960724],
    [148.5, 61.68111012],
    [149.5, 61.91713127],
    [150.5, 62.15752876],
    [151.5, 62.40209704],
    [152.5, 62.65056537],
    [153.5, 62.90259743],
    [154.5, 63.15779245],
    [155.5, 63.41568791],
    [156.5, 63.67576379],
    [157.5, 63.93744835],
    [158.5, 64.20012605],
    [159.5, 64.46314434],
    [160.5, 64.72582531],
    [161.5, 64.98747399],
    [162.5, 65.24739047],
    [163.5, 65.50487955],
    [164.5, 65.75926142],
    [165.5, 66.00988151],
    [166.5, 66.25611932],
    [167.5, 66.49739737],
    [168.5, 66.73318419],
    [169.5, 66.96300419],
    [170.5, 67.18643896],
    [171.5, 67.40312986],
    [172.5, 67.61277954],
    [173.5, 67.8151515],
    [174.5, 68.01006889],
    [175.5, 68.19741222],
    [176.5, 68.37711641],
    [177.5, 68.5491669],
    [178.5, 68.71359569],
    [179.5, 68.87047676],
    [180.5, 69.01992152],
    [181.5, 69.16207408],
    [182.5, 69.29710655],
    [183.5, 69.42521481],
    [184.5, 69.54661393],
    [185.5, 69.66153451],
    [186.5, 69.7702187],
    [187.5, 69.87291702],
    [188.5, 69.96988511],
    [189.5, 70.06138173],
    [190.5, 70.14766505],
    [191.5, 70.22899186],
    [192.5, 70.30561576],
    [193.5, 70.3777843],
    [194.5, 70.4457395],
    [195.5, 70.50971583],
    [196.5, 70.5699398],
    [197.5, 70.62662928],
    [198.5, 70.67999301],
    [199.5, 70.73023052],
    [200.5, 70.77753184],
    [201.5, 70.8220775],
    [202.5, 70.86403862],
    [203.5, 70.90357699],
    [204.5, 70.94084532],
    [205.5, 70.97598754],
    [206.5, 71.0091389],
    [207.5, 71.04042647],
    [208.5, 71.06996944],
    [209.5, 71.09787953],
    [210.5, 71.12426112],
    [211.5, 71.14921189],
    [212.5, 71.17282316],
    [213.5, 71.19518002],
    [214.5, 71.21636192],
    [215.5, 71.23644303],
    [216.5, 71.2554923],
    [217.5, 71.27357416],
    [218.5, 71.29074846],
    [219.5, 71.30707103],
    [220.5, 71.32259387],
    [221.5, 71.33736541],
    [222.5, 71.35143066],
    [223.5, 71.36483161],
    [224.5, 71.3776074],
    [225.5, 71.38979442],
    [226.5, 71.40142659],
    [227.5, 71.41253565],
    [228.5, 71.42315101],
    [229.5, 71.43330023],
    [230.5, 71.44300901],
    [231.5, 71.4523013],
    [232.5, 71.46119953],
    [233.5, 71.46972466],
    [234.5, 71.4778962],
    [235.5, 71.4857325],
    [236.5, 71.49325073],
    [237.5, 71.50046692],
    [238.5, 71.50739617],
    [239.5, 71.51405255],
    [240, 71.51728264]

];

var statage_male_90th = [
    [36.5, 39.53041473],
    [37.5, 39.79096893],
    [38.5, 40.04859493],
    [39.5, 40.30351062],
    [40.5, 40.55592269],
    [41.5, 40.80602692],
    [42.5, 41.05400906],
    [43.5, 41.30004478],
    [44.5, 41.54430011],
    [45.5, 41.78693174],
    [46.5, 42.02808714],
    [47.5, 42.26790499],
    [48.5, 42.50651532],
    [49.5, 42.74403962],
    [50.5, 42.98059124],
    [51.5, 43.21627531],
    [52.5, 43.45118937],
    [53.5, 43.68542276],
    [54.5, 43.91905761],
    [55.5, 44.15216853],
    [56.5, 44.38482294],
    [57.5, 44.61708118],
    [58.5, 44.8489967],
    [59.5, 45.08061619],
    [60.5, 45.31197978],
    [61.5, 45.54312125],
    [62.5, 45.77406818],
    [63.5, 46.00484213],
    [64.5, 46.23545875],
    [65.5, 46.4659282],
    [66.5, 46.69625506],
    [67.5, 46.92643884],
    [68.5, 47.15647389],
    [69.5, 47.38634992],
    [70.5, 47.61605197],
    [71.5, 47.84556076],
    [72.5, 48.07485301],
    [73.5, 48.30390148],
    [74.5, 48.53267542],
    [75.5, 48.76114066],
    [76.5, 48.98926004],
    [77.5, 49.21699347],
    [78.5, 49.44429831],
    [79.5, 49.67112966],
    [80.5, 49.89744057],
    [81.5, 50.1231823],
    [82.5, 50.34830471],
    [83.5, 50.57275629],
    [84.5, 50.79648471],
    [85.5, 51.01943696],
    [86.5, 51.24155956],
    [87.5, 51.46279901],
    [88.5, 51.68310204],
    [89.5, 51.90241555],
    [90.5, 52.1206874],
    [91.5, 52.33786641],
    [92.5, 52.55390267],
    [93.5, 52.7687479],
    [94.5, 52.9823557],
    [95.5, 53.1946818],
    [96.5, 53.40568443],
    [97.5, 53.61532466],
    [98.5, 53.82356658],
    [99.5, 54.03037776],
    [100.5, 54.23572944],
    [101.5, 54.439597],
    [102.5, 54.64196018],
    [103.5, 54.84280347],
    [104.5, 55.04211646],
    [105.5, 55.2398942],
    [106.5, 55.43613753],
    [107.5, 55.63085351],
    [108.5, 55.82405574],
    [109.5, 56.01576466],
    [110.5, 56.20600823],
    [111.5, 56.39482187],
    [112.5, 56.58224929],
    [113.5, 56.76834254],
    [114.5, 56.95316257],
    [115.5, 57.13677955],
    [116.5, 57.31927328],
    [117.5, 57.50073337],
    [118.5, 57.68125989],
    [119.5, 57.86096337],
    [120.5, 58.0399652],
    [121.5, 58.21839786],
    [122.5, 58.39640516],
    [123.5, 58.57414222],
    [124.5, 58.75177566],
    [125.5, 58.92948332],
    [126.5, 59.1074544],
    [127.5, 59.28588898],
    [128.5, 59.46499758],
    [129.5, 59.64500067],
    [130.5, 59.82612766],
    [131.5, 60.00861614],
    [132.5, 60.1927103],
    [133.5, 60.37865965],
    [134.5, 60.56671696],
    [135.5, 60.75713616],
    [136.5, 60.95016968],
    [137.5, 61.14606581],
    [138.5, 61.34506506],
    [139.5, 61.54739678],
    [140.5, 61.75327496],
    [141.5, 61.96289405],
    [142.5, 62.17642405],
    [143.5, 62.3940059],
    [144.5, 62.61574633],
    [145.5, 62.84171291],
    [146.5, 63.07192902],
    [147.5, 63.30636934],
    [148.5, 63.54495557],
    [149.5, 63.78755283],
    [150.5, 64.03396706],
    [151.5, 64.28394302],
    [152.5, 64.53716402],
    [153.5, 64.79325235],
    [154.5, 65.0517717],
    [155.5, 65.31223054],
    [156.5, 65.57408726],
    [157.5, 65.83675658],
    [158.5, 66.09961711],
    [159.5, 66.36202017],
    [160.5, 66.62329909],
    [161.5, 66.88277935],
    [162.5, 67.1397887],
    [163.5, 67.39366726],
    [164.5, 67.6437772],
    [165.5, 67.8895117],
    [166.5, 68.13030301],
    [167.5, 68.36562948],
    [168.5, 68.59502086],
    [169.5, 68.81806283],
    [170.5, 69.03439988],
    [171.5, 69.24373664],
    [172.5, 69.44583829],
    [173.5, 69.6405293],
    [174.5, 69.82769176],
    [175.5, 70.00726217],
    [176.5, 70.17922809],
    [177.5, 70.34362385],
    [178.5, 70.50052602],
    [179.5, 70.65004886],
    [180.5, 70.79233929],
    [181.5, 70.92757228],
    [182.5, 71.05594628],
    [183.5, 71.17767859],
    [184.5, 71.29300161],
    [185.5, 71.40215868],
    [186.5, 71.5054009],
    [187.5, 71.60298394],
    [188.5, 71.69516541],
    [189.5, 71.78220242],
    [190.5, 71.86434955],
    [191.5, 71.94185723],
    [192.5, 72.01497027],
    [193.5, 72.08392672],
    [194.5, 72.14895699],
    [195.5, 72.21028317],
    [196.5, 72.26811843],
    [197.5, 72.32266693],
    [198.5, 72.37412326],
    [199.5, 72.42267273],
    [200.5, 72.46849122],
    [201.5, 72.51174518],
    [202.5, 72.55259209],
    [203.5, 72.5911805],
    [204.5, 72.62765032],
    [205.5, 72.66213314],
    [206.5, 72.69475264],
    [207.5, 72.72562482],
    [208.5, 72.75485846],
    [209.5, 72.78255544],
    [210.5, 72.80881109],
    [211.5, 72.83371449],
    [212.5, 72.85734903],
    [213.5, 72.8797925],
    [214.5, 72.90111756],
    [215.5, 72.92139209],
    [216.5, 72.94067935],
    [217.5, 72.95903841],
    [218.5, 72.97652441],
    [219.5, 72.99318871],
    [220.5, 73.00907931],
    [221.5, 73.02424093],
    [222.5, 73.03871535],
    [223.5, 73.05254146],
    [224.5, 73.06575572],
    [225.5, 73.07839202],
    [226.5, 73.09048215],
    [227.5, 73.1020557],
    [228.5, 73.11314039],
    [229.5, 73.12376216],
    [230.5, 73.1339452],
    [231.5, 73.14371221],
    [232.5, 73.1530845],
    [233.5, 73.16208191],
    [234.5, 73.17072313],
    [235.5, 73.17902574],
    [236.5, 73.1870061],
    [237.5, 73.19467968],
    [238.5, 73.20206106],
    [239.5, 73.20916382],
    [240, 73.21261477]

];

var statage_male_95th = [
    [36.5, 40.13087844],
    [37.5, 40.39098421],
    [38.5, 40.64845494],
    [39.5, 40.90349677],
    [40.5, 41.156306],
    [41.5, 41.40707023],
    [42.5, 41.65596671],
    [43.5, 41.90316381],
    [44.5, 42.14882071],
    [45.5, 42.39308754],
    [46.5, 42.63610558],
    [47.5, 42.87800729],
    [48.5, 43.11891663],
    [49.5, 43.35894912],
    [50.5, 43.59821209],
    [51.5, 43.83680509],
    [52.5, 44.07481825],
    [53.5, 44.31233641],
    [54.5, 44.54943496],
    [55.5, 44.78618257],
    [56.5, 45.02264053],
    [57.5, 45.2588631],
    [58.5, 45.49489764],
    [59.5, 45.73078469],
    [60.5, 45.96655844],
    [61.5, 46.20224645],
    [62.5, 46.43787027],
    [63.5, 46.67344536],
    [64.5, 46.90898132],
    [65.5, 47.14448219],
    [66.5, 47.37994657],
    [67.5, 47.61536776],
    [68.5, 47.85073411],
    [69.5, 48.08602908],
    [70.5, 48.32123149],
    [71.5, 48.5563163],
    [72.5, 48.79125375],
    [73.5, 49.02601037],
    [74.5, 49.26054912],
    [75.5, 49.49482956],
    [76.5, 49.72880823],
    [77.5, 49.96243871],
    [78.5, 50.19567207],
    [79.5, 50.42845711],
    [80.5, 50.66074055],
    [81.5, 50.89246752],
    [82.5, 51.12358162],
    [83.5, 51.35402545],
    [84.5, 51.58374061],
    [85.5, 51.81266841],
    [86.5, 52.04074976],
    [87.5, 52.26792582],
    [88.5, 52.4941374],
    [89.5, 52.71932792],
    [90.5, 52.9434402],
    [91.5, 53.16641895],
    [92.5, 53.38821052],
    [93.5, 53.60876328],
    [94.5, 53.828028],
    [95.5, 54.045958],
    [96.5, 54.26250966],
    [97.5, 54.47764265],
    [98.5, 54.69132028],
    [99.5, 54.90350977],
    [100.5, 55.11418271],
    [101.5, 55.32331535],
    [102.5, 55.53088877],
    [103.5, 55.73688951],
    [104.5, 55.94130966],
    [105.5, 56.14414729],
    [106.5, 56.34540688],
    [107.5, 56.54509955],
    [108.5, 56.74324344],
    [109.5, 56.93986409],
    [110.5, 57.13499475],
    [111.5, 57.32867671],
    [112.5, 57.5209598],
    [113.5, 57.71190246],
    [114.5, 57.90157233],
    [115.5, 58.09004641],
    [116.5, 58.27741147],
    [117.5, 58.46376429],
    [118.5, 58.64921191],
    [119.5, 58.83387185],
    [120.5, 59.01787246],
    [121.5, 59.2013528],
    [122.5, 59.38446289],
    [123.5, 59.56736378],
    [124.5, 59.75022719],
    [125.5, 59.93323563],
    [126.5, 60.11658187],
    [127.5, 60.30046855],
    [128.5, 60.48510762],
    [129.5, 60.67071938],
    [130.5, 60.85753149],
    [131.5, 61.04577781],
    [132.5, 61.23569677],
    [133.5, 61.42752951],
    [134.5, 61.62151796],
    [135.5, 61.81790216],
    [136.5, 62.01691774],
    [137.5, 62.21879269],
    [138.5, 62.42374402],
    [139.5, 62.63197398],
    [140.5, 62.84366622],
    [141.5, 63.05898141],
    [142.5, 63.27805303],
    [143.5, 63.50098276],
    [144.5, 63.72783607],
    [145.5, 63.95863792],
    [146.5, 64.19336848],
    [147.5, 64.4319596],
    [148.5, 64.67429138],
    [149.5, 64.92018978],
    [150.5, 65.16942484],
    [151.5, 65.42170989],
    [152.5, 65.67670196],
    [153.5, 65.93400316],
    [154.5, 66.19316346],
    [155.5, 66.45368474],
    [156.5, 66.71502587],
    [157.5, 66.97660936],
    [158.5, 67.237828],
    [159.5, 67.49805456],
    [160.5, 67.75664907],
    [161.5, 68.01296944],
    [162.5, 68.26637986],
    [163.5, 68.51626074],
    [164.5, 68.76201725],
    [165.5, 69.00308769],
    [166.5, 69.2389505],
    [167.5, 69.46912991],
    [168.5, 69.69320334],
    [169.5, 69.91080177],
    [170.5, 70.12161401],
    [171.5, 70.32538731],
    [172.5, 70.52192733],
    [173.5, 70.71109665],
    [174.5, 70.89281246],
    [175.5, 71.06704373],
    [176.5, 71.23380717],
    [177.5, 71.39316312],
    [178.5, 71.54521092],
    [179.5, 71.69008422],
    [180.5, 71.82794631],
    [181.5, 71.95898512],
    [182.5, 72.083409],
    [183.5, 72.20144245],
    [184.5, 72.31332196],
    [185.5, 72.41929257],
    [186.5, 72.51960471],
    [187.5, 72.61451106],
    [188.5, 72.7042645],
    [189.5, 72.78911533],
    [190.5, 72.86931041],
    [191.5, 72.94509085],
    [192.5, 73.01669093],
    [193.5, 73.08433801],
    [194.5, 73.14825072],
    [195.5, 73.20863914],
    [196.5, 73.26570425],
    [197.5, 73.31963778],
    [198.5, 73.37062234],
    [199.5, 73.41883106],
    [200.5, 73.46442817],
    [201.5, 73.50756891],
    [202.5, 73.54839987],
    [203.5, 73.58705926],
    [204.5, 73.62367732],
    [205.5, 73.65837651],
    [206.5, 73.69127188],
    [207.5, 73.72247158],
    [208.5, 73.75207703],
    [209.5, 73.78018335],
    [210.5, 73.8068797],
    [211.5, 73.83224963],
    [212.5, 73.85637142],
    [213.5, 73.87931832],
    [214.5, 73.90115888],
    [215.5, 73.92195732],
    [216.5, 73.94177371],
    [217.5, 73.96066431],
    [218.5, 73.97868164],
    [219.5, 73.99587504],
    [220.5, 74.01229056],
    [221.5, 74.02797127],
    [222.5, 74.04295762],
    [223.5, 74.05728743],
    [224.5, 74.07099606],
    [225.5, 74.08411674],
    [226.5, 74.09668052],
    [227.5, 74.10871663],
    [228.5, 74.12025231],
    [229.5, 74.13131326],
    [230.5, 74.14192354],
    [231.5, 74.15210575],
    [232.5, 74.16188111],
    [233.5, 74.17126958],
    [234.5, 74.18028994],
    [235.5, 74.18895983],
    [236.5, 74.19729585],
    [237.5, 74.20531369],
    [238.5, 74.21302803],
    [239.5, 74.22045283],
    [240, 74.22406075]

];

var statage_male_97th = [
    [36.5, 40.52765259],
    [37.5, 40.78674124],
    [38.5, 41.04343854],
    [39.5, 41.29793781],
    [40.5, 41.55042433],
    [41.5, 41.80107686],
    [42.5, 42.05006397],
    [43.5, 42.2975467],
    [44.5, 42.54367754],
    [45.5, 42.78860051],
    [46.5, 43.03245115],
    [47.5, 43.27535656],
    [48.5, 43.51743543],
    [49.5, 43.75879839],
    [50.5, 43.99954781],
    [51.5, 44.23977893],
    [52.5, 44.47957607],
    [53.5, 44.71902084],
    [54.5, 44.95818353],
    [55.5, 45.19712834],
    [56.5, 45.43591229],
    [57.5, 45.67458518],
    [58.5, 45.91319007],
    [59.5, 46.15176327],
    [60.5, 46.3903345],
    [61.5, 46.62892727],
    [62.5, 46.86755873],
    [63.5, 47.10624012],
    [64.5, 47.34497683],
    [65.5, 47.58376857],
    [66.5, 47.82260964],
    [67.5, 48.06148902],
    [68.5, 48.30039065],
    [69.5, 48.53929361],
    [70.5, 48.77817197],
    [71.5, 49.01699663],
    [72.5, 49.25573282],
    [73.5, 49.4943424],
    [74.5, 49.73278351],
    [75.5, 49.97101084],
    [76.5, 50.20897589],
    [77.5, 50.44662724],
    [78.5, 50.68391083],
    [79.5, 50.92077025],
    [80.5, 51.15714707],
    [81.5, 51.3929811],
    [82.5, 51.62821071],
    [83.5, 51.86277324],
    [84.5, 52.09660518],
    [85.5, 52.32964263],
    [86.5, 52.56182161],
    [87.5, 52.79307839],
    [88.5, 53.02334836],
    [89.5, 53.25257171],
    [90.5, 53.48068652],
    [91.5, 53.70763357],
    [92.5, 53.93335566],
    [93.5, 54.15779791],
    [94.5, 54.38090822],
    [95.5, 54.60263756],
    [96.5, 54.82294039],
    [97.5, 55.0417748],
    [98.5, 55.25910315],
    [99.5, 55.47489224],
    [100.5, 55.68911365],
    [101.5, 55.90174412],
    [102.5, 56.11276597],
    [103.5, 56.32216719],
    [104.5, 56.52994206],
    [105.5, 56.73609127],
    [106.5, 56.9406224],
    [107.5, 57.14355003],
    [108.5, 57.34489636],
    [109.5, 57.54469123],
    [110.5, 57.74297264],
    [111.5, 57.93978696],
    [112.5, 58.13518931],
    [113.5, 58.32924374],
    [114.5, 58.52202365],
    [115.5, 58.71361202],
    [116.5, 58.90410157],
    [117.5, 59.09359518],
    [118.5, 59.28220591],
    [119.5, 59.47005727],
    [120.5, 59.65728336],
    [121.5, 59.84402881],
    [122.5, 60.03044891],
    [123.5, 60.21670952],
    [124.5, 60.40298675],
    [125.5, 60.58946673],
    [126.5, 60.77634522],
    [127.5, 60.9638269],
    [128.5, 61.15212472],
    [129.5, 61.34145875],
    [130.5, 61.53205512],
    [131.5, 61.72414447],
    [132.5, 61.91796029],
    [133.5, 62.11373681],
    [134.5, 62.31170688],
    [135.5, 62.51209919],
    [136.5, 62.71513536],
    [137.5, 62.92102693],
    [138.5, 63.12997169],
    [139.5, 63.34215007],
    [140.5, 63.55772113],
    [141.5, 63.77681869],
    [142.5, 63.999547],
    [143.5, 64.22597681],
    [144.5, 64.45614134],
    [145.5, 64.69003253],
    [146.5, 64.92759762],
    [147.5, 65.16873614],
    [148.5, 65.41329765],
    [149.5, 65.66107998],
    [150.5, 65.91182835],
    [151.5, 66.1652353],
    [152.5, 66.42094173],
    [153.5, 66.678539],
    [154.5, 66.93757189],
    [155.5, 67.19754278],
    [156.5, 67.45791686],
    [157.5, 67.7181285],
    [158.5, 67.9775871],
    [159.5, 68.23568752],
    [160.5, 68.4918151],
    [161.5, 68.74535693],
    [162.5, 68.9957086],
    [163.5, 69.24228408],
    [164.5, 69.48452335],
    [165.5, 69.72189982],
    [166.5, 69.95392734],
    [167.5, 70.18016431],
    [168.5, 70.40022278],
    [169.5, 70.61376589],
    [170.5, 70.82051328],
    [171.5, 71.02024126],
    [172.5, 71.21278247],
    [173.5, 71.39802426],
    [174.5, 71.57590641],
    [175.5, 71.74641803],
    [176.5, 71.90959371],
    [177.5, 72.06550923],
    [178.5, 72.21427703],
    [179.5, 72.35604167],
    [180.5, 72.49097485],
    [181.5, 72.61927103],
    [182.5, 72.74114286],
    [183.5, 72.85681726],
    [184.5, 72.96653125],
    [185.5, 73.07052887],
    [186.5, 73.16905774],
    [187.5, 73.26236669],
    [188.5, 73.35070335],
    [189.5, 73.4343115],
    [190.5, 73.51343108],
    [191.5, 73.58829525],
    [192.5, 73.65912942],
    [193.5, 73.72615233],
    [194.5, 73.78957323],
    [195.5, 73.84959275],
    [196.5, 73.90640239],
    [197.5, 73.96018447],
    [198.5, 74.01111213],
    [199.5, 74.05934964],
    [200.5, 74.10505226],
    [201.5, 74.14836693],
    [202.5, 74.18943215],
    [203.5, 74.22837859],
    [204.5, 74.26532928],
    [205.5, 74.30040004],
    [206.5, 74.33369979],
    [207.5, 74.36533094],
    [208.5, 74.3953897],
    [209.5, 74.42396645],
    [210.5, 74.45114607],
    [211.5, 74.47700825],
    [212.5, 74.50162775],
    [213.5, 74.52507481],
    [214.5, 74.54741529],
    [215.5, 74.56871102],
    [216.5, 74.58902004],
    [217.5, 74.60839682],
    [218.5, 74.62689242],
    [219.5, 74.64455491],
    [220.5, 74.66142925],
    [221.5, 74.67755777],
    [222.5, 74.69298018],
    [223.5, 74.70773377],
    [224.5, 74.72185358],
    [225.5, 74.73537256],
    [226.5, 74.74832162],
    [227.5, 74.7607299],
    [228.5, 74.77262471],
    [229.5, 74.78403184],
    [230.5, 74.79497547],
    [231.5, 74.80547843],
    [232.5, 74.81556217],
    [233.5, 74.8252469],
    [234.5, 74.83455175],
    [235.5, 74.84349467],
    [236.5, 74.85209255],
    [237.5, 74.86036145],
    [238.5, 74.86831649],
    [239.5, 74.87597185],
    [240, 74.87969142]

];

$(function chartSetup() {
    $('#container').highcharts({
        chart: {
            type: 'areaspline'
        },
        title: {
            text: 'Height Growth Chart (Males)'
        },
        legend: {
            layout: 'horizontal',
            align: 'center',
            verticalAlign: 'bottom',
            borderWidth: 1,
            backgroundColor: '#FFFFFF',
            itemStyle: {
                cursor: 'pointer',
                color: '#274b6d',
                fontSize: '12px'
            }
        },
        plotOptions: {
            areaspline: {
                fillOpacity: 0.2
            },
            series: {
                minPointLength: 1,
                shadow: false,
                events: {
                    legendItemClick: function () {
                        if (this.name == 'Percentiles') {
                            toggleBands(chart);
                        }
                    }
                }
            }
        },
        xAxis: {
            title: {
                text: 'Age (months)'
            },
            labels: {
                rotation: -90,
                step: 5
            },
            tickInterval: 5
        },
        yAxis: {
            title: {
                text: 'Height (inches)'
            },
            min: 32
        },
        tooltip: {
            shared: true,
            valueSuffix: ' inches',
            valueDecimals: 2
        },
        credits: {
            enabled: false
        },
        series: [{
            name: '3rd Percentile',
            data: statage_male_3rd,
            marker: {
                enabled: false
            }
        }, {
            name: '5th Percentile',
            data: statage_male_5th,
            marker: {
                enabled: false
            }
        }, {
            name: '10th Percentile',
            data: statage_male_10th,
            marker: {
                enabled: false
            }
        }, {
            name: '25th Percentile',
            data: statage_male_25th,
            marker: {
                enabled: false
            }
        }, {
            name: '50th Percentile',
            data: statage_male_50th,
            marker: {
                enabled: false
            }
        }, {
            name: '75th Percentile',
            data: statage_male_75th,
            marker: {
                enabled: false
            }
        }, {
            name: '90th Percentile',
            data: statage_male_90th,
            marker: {
                enabled: false
            }
        }, {
            name: '95th Percentile',
            data: statage_male_95th,
            marker: {
                enabled: false
            }
        }, {
            name: '97th Percentile',
            data: statage_male_97th,
            marker: {
                enabled: false
            }
        }]
    });
});

function toggleBands(chart) {
    $.each(chart.xAxis, function (index, elX) {
        $.each(elX.plotLinesAndBands, function (index, el) {
            if (el.svgElem !== undefined) {
                el.svgElem[el.visible ? 'show' : 'hide']();
                el.visible = !el.visible;
            }
        });
    });
}

$('.toggle-trigger').click(function () {
    var target = $(this).attr('data-target');

    $('#' + target).slideToggle('slow');

    if ($(this).hasClass('plus')) {
        $(this).addClass('minus').removeClass('plus');
    } else {
        $(this).addClass('plus').removeClass('minus');
    }
});